package com.dingtao.common.bean;

public class RefreshResult {
    boolean finishRefresh;
    boolean finishLoading;

    public static RefreshResult getInstance(boolean finishRefresh, boolean finishLoading) {
        return new RefreshResult(finishRefresh, finishLoading);
    }

    private RefreshResult(boolean finishRefresh, boolean finishLoading) {
        this.finishRefresh = finishRefresh;
        this.finishLoading = finishLoading;
    }

    public boolean isFinishRefresh() {
        return finishRefresh;
    }

    public void setFinishRefresh(boolean finishRefresh) {
        this.finishRefresh = finishRefresh;
    }

    public boolean isFinishLoading() {
        return finishLoading;
    }

    public void setFinishLoading(boolean finishLoading) {
        this.finishLoading = finishLoading;
    }
}
